package com.lnt.prototype;

/**
 * @title : 原型模式的测试类
 * @createDate : 2021-11-04 10:15
 * @creater : LuNanTing
 * @className : PrototypeTest
 */
public class PrototypeTest {

    public static void main(String[] args) throws CloneNotSupportedException {
        Realizetype realizetype = new Realizetype();
        Realizetype clone = (Realizetype) realizetype.clone();
        System.out.println("realizetype == clone ?" + (realizetype == clone));
    }
}
